package ModelLayer;

public class Machine
{
    private String name;
    private int machineNo;
    private String description;
    private boolean machineStatus;
    private int price;

    public Machine(String name, int machineNo, String description, 
                    boolean machineStatus, int price)
    {
        this.name = name;
        this.machineNo = machineNo;
        this.description = description;
        this.machineStatus = machineStatus;
        this.price = price;
    }

    public void setName(String name)
    {
        this.name = name;
    }
    public String getName()
    {
        return name;
    }
    
    public void setMachineNo(int machineNo)
    {
        this.machineNo = machineNo;
    }
    public int getMachineNo()
    {
        return machineNo;
    }
    
    public void setDescription(String description)
    {
        this.description = description;
    }
    public String getDescription()
    {
        return description;
    }
    
    public void setMachineStatus(boolean machineStatus)
    {
        this.machineStatus = machineStatus;
    }
    public boolean getMachineStatus()
    {
        return machineStatus;
    }
    
    public void setPrice (int price )
    {
        this.price  = price ;
    }
    public int getPrice ()
    {
        return price ;
    }
}
